#ifndef PARSER_H
#define PARSER_H

class Parser {
private:
	enum keyWords {CREATE, TABLE, PRIMARY, KEY, UPDATE, WHERE
		INSERT, INTO, VALUES, FROM, RELATION};
	enum type {VARCHAR, INTEGER};

	// Member variable
	int nCurrentTokenIndex;
	vector<char*> vTokens;

	// Member functions
	void program(char* first);
	void nextToken();
	void createCommand();
	void relationName();

public:
	void *command;
	char* currentToken;
};

#endif
